package com.etc.entity;

import java.io.Serializable;

/**
 * 医生实体类
 * @author 陈伟杰
 *
 */
public class Doctor implements Serializable{
    private Integer doctorid;//医生Id

    private String doctorname;//医生名字

    private String doctorsex;//医生性别

    private Integer outpatientservicetypeid;//部门编号

    private Double jobtime;//医龄
    
    private String outPatientServiceTypeName;//部门名称
    
    private String doctorImg;//医生图片
    
    private String dutyDate;//医生值班时间dutyDate
    public String getDutyDate() {
		return dutyDate;
	}

	public void setDutyDate(String dutyDate) {
		this.dutyDate = dutyDate;
	}

	public String getDoctorImg() {
		return doctorImg;
	}

	public void setDoctorImg(String doctorImg) {
		this.doctorImg = doctorImg;
	}

	public String getOutPatientServiceTypeName() {
		return outPatientServiceTypeName;
	}

	public void setOutPatientServiceTypeName(String outPatientServiceTypeName) {
		this.outPatientServiceTypeName = outPatientServiceTypeName;
	}

	public Integer getDoctorid() {
        return doctorid;
    }

    public void setDoctorid(Integer doctorid) {
        this.doctorid = doctorid;
    }

    public String getDoctorname() {
        return doctorname;
    }

    public void setDoctorname(String doctorname) {
        this.doctorname = doctorname == null ? null : doctorname.trim();
    }

    public String getDoctorsex() {
        return doctorsex;
    }

    public void setDoctorsex(String doctorsex) {
        this.doctorsex = doctorsex == null ? null : doctorsex.trim();
    }

    public Integer getOutpatientservicetypeid() {
        return outpatientservicetypeid;
    }

    public void setOutpatientservicetypeid(Integer outpatientservicetypeid) {
        this.outpatientservicetypeid = outpatientservicetypeid;
    }

    public Double getJobtime() {
        return jobtime;
    }

    public void setJobtime(Double jobtime) {
        this.jobtime = jobtime;
    }

    
	public Doctor(String doctorname, String doctorsex, Integer outpatientservicetypeid, Double jobtime, String doctorImg) {
		super();
		this.doctorname = doctorname;
		this.doctorsex = doctorsex;
		this.outpatientservicetypeid = outpatientservicetypeid;
		this.jobtime = jobtime;
		this.doctorImg = doctorImg;
	}

	public Doctor() {
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Doctor [doctorid=" + doctorid + ", doctorname=" + doctorname + ", doctorsex=" + doctorsex
				+ ", outpatientservicetypeid=" + outpatientservicetypeid + ", jobtime=" + jobtime
				+ ", outPatientServiceTypeName=" + outPatientServiceTypeName + ", doctorImg=" + doctorImg
				+ ", dutyDate=" + dutyDate + "]";
	}

	
    
}